<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>DSpace Documentation : AIP Backup and Restore</title>
	    <link rel="stylesheet" href="styles/site.css" type="text/css" />
        <META http-equiv="Content-Type" content="text/html; charset=UTF-8">	    
    </head>

    <body>
	    <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
		    <tr>
			    <td valign="top" class="pagebody">
				    <div class="pageheader">
					    <span class="pagetitle">
                            DSpace Documentation : AIP Backup and Restore
                                                    </span>
				    </div>
				    <div class="pagesubheading">
					    This page last changed on Feb 17, 2011 by <font color="#0050B2">helix84</font>.
				    </div>

				    <h1><a name="AIPBackupandRestore-AIPBackup%26RestoreforDSpace"></a>AIP Backup &amp; Restore for DSpace</h1>

<style type='text/css'>/*<![CDATA[*/
div.rbtoc1297951465473 {margin-left: 0px;padding: 0px;}
div.rbtoc1297951465473 ul {list-style: none;margin-left: 0px;}
div.rbtoc1297951465473 li {margin-left: 0px;padding-left: 0px;}

/*]]>*/</style><div class='rbtoc1297951465473'>
<ul>
    <li><span class='TOCOutline'>1</span> <a href='#AIPBackupandRestore-Background%26Overview'>Background &amp; Overview</a></li>
<ul>
    <li><span class='TOCOutline'>1.1</span> <a href='#AIPBackupandRestore-HowdoesthisdifferfromtraditionalDSpaceBackups%3FWhichBackuprouteisbetter%3F'>How does this differ from traditional DSpace Backups? Which Backup route is better?</a></li>
    <li><span class='TOCOutline'>1.2</span> <a href='#AIPBackupandRestore-HowdoesthisworkhelpDSpaceinteractwithDuraCloud%3F'>How does this work help DSpace interact with DuraCloud?</a></li>
</ul>
    <li><span class='TOCOutline'>2</span> <a href='#AIPBackupandRestore-MakeupandDefinitionofAIPs'>Makeup and Definition of AIPs</a></li>
<ul>
    <li><span class='TOCOutline'>2.1</span> <a href='#AIPBackupandRestore-AIPsareArchivalInformationPackages.'>AIPs are Archival Information Packages.</a></li>
    <li><span class='TOCOutline'>2.2</span> <a href='#AIPBackupandRestore-AIPStructure%2FFormat'>AIP Structure / Format</a></li>
</ul>
    <li><span class='TOCOutline'>3</span> <a href='#AIPBackupandRestore-RunningtheCode'>Running the Code</a></li>
<ul>
    <li><span class='TOCOutline'>3.1</span> <a href='#AIPBackupandRestore-ExportingAIPs'>Exporting AIPs</a></li>
<ul>
    <li><span class='TOCOutline'>3.1.1</span> <a href='#AIPBackupandRestore-ExportModes%26Options'>Export Modes &amp; Options</a></li>
    <li><span class='TOCOutline'>3.1.2</span> <a href='#AIPBackupandRestore-ExportingjustasingleAIP'>Exporting just a single AIP</a></li>
    <li><span class='TOCOutline'>3.1.3</span> <a href='#AIPBackupandRestore-ExportingAIPHierarchy'>Exporting AIP Hierarchy</a></li>
<ul>
    <li><span class='TOCOutline'>3.1.3.1</span> <a href='#AIPBackupandRestore-ExportingEntireSite'>Exporting Entire Site</a></li>
</ul>
</ul>
    <li><span class='TOCOutline'>3.2</span> <a href='#AIPBackupandRestore-Ingesting%2FRestoringAIPs'>Ingesting / Restoring AIPs</a></li>
<ul>
    <li><span class='TOCOutline'>3.2.1</span> <a href='#AIPBackupandRestore-IngestionModes%26Options'>Ingestion Modes &amp; Options</a></li>
<ul>
    <li><span class='TOCOutline'>3.2.1.1</span> <a href='#AIPBackupandRestore-Thedifferencebetween%22Submit%22and%22Restore%2FReplace%22modes'>The difference between "Submit" and "Restore/Replace" modes</a></li>
</ul>
    <li><span class='TOCOutline'>3.2.2</span> <a href='#AIPBackupandRestore-SubmittingAIP%28s%29tocreateanewobject'>Submitting AIP(s) to create a new object</a></li>
<ul>
    <li><span class='TOCOutline'>3.2.2.1</span> <a href='#AIPBackupandRestore-SubmittingaSingleAIP'>Submitting a Single AIP</a></li>
    <li><span class='TOCOutline'>3.2.2.2</span> <a href='#AIPBackupandRestore-SubmittinganAIPHierarchy'>Submitting an AIP Hierarchy</a></li>
</ul>
    <li><span class='TOCOutline'>3.2.3</span> <a href='#AIPBackupandRestore-Restoring%2FReplacingusingAIP%28s%29'>Restoring/Replacing using AIP(s)</a></li>
<ul>
    <li><span class='TOCOutline'>3.2.3.1</span> <a href='#AIPBackupandRestore-DefaultRestoreMode'>Default Restore Mode</a></li>
    <li><span class='TOCOutline'>3.2.3.2</span> <a href='#AIPBackupandRestore-Restore%2CKeepExistingMode'>Restore, Keep Existing Mode</a></li>
    <li><span class='TOCOutline'>3.2.3.3</span> <a href='#AIPBackupandRestore-ForceReplaceMode'>Force Replace Mode</a></li>
    <li><span class='TOCOutline'>3.2.3.4</span> <a href='#AIPBackupandRestore-RestoringEntireSite'>Restoring Entire Site</a></li>
</ul>
</ul>
</ul>
    <li><span class='TOCOutline'>4</span> <a href='#AIPBackupandRestore-AdditionalPackagerOptions'>Additional Packager Options</a></li>
<ul>
    <li><span class='TOCOutline'>4.1</span> <a href='#AIPBackupandRestore-Howtousetheseoptions'>How to use these options</a></li>
</ul>
    <li><span class='TOCOutline'>5</span> <a href='#AIPBackupandRestore-Configurationin%27dspace.cfg%27'>Configuration in 'dspace.cfg'</a></li>
<ul>
    <li><span class='TOCOutline'>5.1</span> <a href='#AIPBackupandRestore-AIPMetadataDisseminationConfigurations'>AIP Metadata Dissemination Configurations</a></li>
    <li><span class='TOCOutline'>5.2</span> <a href='#AIPBackupandRestore-AIPIngestionMetadataCrosswalkConfigurations'>AIP Ingestion Metadata Crosswalk Configurations</a></li>
    <li><span class='TOCOutline'>5.3</span> <a href='#AIPBackupandRestore-AIPIngestionEPersonConfigurations'>AIP Ingestion EPerson Configurations</a></li>
    <li><span class='TOCOutline'>5.4</span> <a href='#AIPBackupandRestore-AIPConfigurationsToImproveIngestionSpeedwhileValidating'>AIP Configurations To Improve Ingestion Speed while Validating</a></li>
</ul>
    <li><span class='TOCOutline'>6</span> <a href='#AIPBackupandRestore-CommonIssuesorErrorMessages'>Common Issues or Error Messages</a></li>
</ul></div>

<h2><a name="AIPBackupandRestore-Background%26Overview"></a>Background &amp; Overview</h2>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>Additional background information available in the Open Repositories 2010 Presentation entitled <a href="http://www.slideshare.net/tdonohue/improving-dspace-backups-restores-migrations">Improving DSpace Backups, Restores &amp; Migrations</a></td></tr></table></div>

<p>As of DSpace 1.7, DSpace now can backup and restore all of its contents as a set of <a href="DSpace AIP Format.html" title="DSpace AIP Format">AIP Files</a>.  This includes all Communities, Collections, Items, Groups and People in the system.</p>

<p>This feature came out of a requirement for DSpace to better integrate with <a href="http://www.duracloud.org">DuraCloud</a>, and other backup storage systems.  One of these requirements is to be able to essentially "backup" local DSpace contents into the cloud (as a type of offsite backup), and "restore" those contents at a later time.</p>

<p>Essentially, this means DSpace can export the entire hierarchy (i.e. bitstreams, metadata and relationships between Communities/Collections/Items) into a relatively standard format (a METS-based, <a href="DSpace AIP Format.html" title="DSpace AIP Format">AIP format</a>). This entire hierarchy can also be re-imported into DSpace in the same format (essentially a restore of that content in the same or different DSpace installation).</p>

<p><b>Benefits for the DSpace community:</b></p>
<ul>
	<li>Allows one to more easily move entire Communities or Collections between DSpace instances.</li>
	<li>Allows for a potentially more consistent backup of this hierarchy (e.g. to DuraCloud, or just to your own local backup system), rather than relying on synchronizing a backup of your Database (stores metadata/relationships) and assetstore (stores files/bitstreams).</li>
	<li>Provides a way for people to more easily get their data out of DSpace (whatever the purpose may be).</li>
	<li>Provides a relatively standard format for people to migrate entire hierarchies (Communities/Collections) from one DSpace to another (or from another system into DSpace).</li>
</ul>


<h3><a name="AIPBackupandRestore-HowdoesthisdifferfromtraditionalDSpaceBackups%3FWhichBackuprouteisbetter%3F"></a>How does this differ from traditional DSpace Backups?  Which Backup route is better?</h3>

<p>Traditionally, it has always been recommended to backup and restore DSpace's database and files (also known as the "assetstore") separately. This is described in more detail in the <a href="Storage Layer.html" title="Storage Layer">Storage Layer</a> section of the DSpace System Documentation. The traditional backup and restore route is still a recommended and supported option.</p>

<p>However, the new AIP Backup &amp; Restore option seeks to try and resolve many of the complexities of a traditional backup and restore. The below table details some of the differences between these two valid Backup and Restore options.</p>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>&nbsp;</th>
<th class='confluenceTh'> Traditional Backup &amp; Restore (Database and Files) </th>
<th class='confluenceTh'> AIP Backup &amp; Restore </th>
</tr>
<tr>
<th class='confluenceTh'> Supported Backup/Restore Types </th>
<th class='confluenceTh'>&nbsp;</th>
<th class='confluenceTh'>&nbsp;</th>
</tr>
<tr>
<td class='confluenceTd'> Can Backup &amp; Restore all DSpace Content easily </td>
<td class='confluenceTd'> Yes (Requires two backups/restores &#8211; one for Database and one for Files) </td>
<td class='confluenceTd'> Yes (Though, will not backup/restore items which are not officially "in archive") </td>
</tr>
<tr>
<td class='confluenceTd'> Can Backup &amp; Restore a Single Community/Collection/Item easily </td>
<td class='confluenceTd'> No (It is possible, but requires a strong understanding of DSpace database structure &amp; folder organization in order to only backup &amp; restore metadata/files belonging to that single object) </td>
<td class='confluenceTd'> Yes </td>
</tr>
<tr>
<td class='confluenceTd'> Backups can be used to move one or more Community/Collection/Items to another DSpace system easily. </td>
<td class='confluenceTd'> No (Again, it is possible, but requires a strong understanding of DSpace database structure &amp; folder organization in order to only move metadata/files belonging to that object) </td>
<td class='confluenceTd'> Yes </td>
</tr>
<tr>
<th class='confluenceTh'> Supported Object Types During Backup &amp; Restore </th>
<th class='confluenceTh'>&nbsp;</th>
<th class='confluenceTh'>&nbsp;</th>
</tr>
<tr>
<td class='confluenceTd'> Supports backup/restore of all Communities/Collections/Items (including metadata, files, logos, etc.) </td>
<td class='confluenceTd'> Yes </td>
<td class='confluenceTd'> Yes </td>
</tr>
<tr>
<td class='confluenceTd'> Supports backup/restore of all People/Groups/Permissions </td>
<td class='confluenceTd'> Yes </td>
<td class='confluenceTd'> Yes </td>
</tr>
<tr>
<td class='confluenceTd'> Supports backup/restore of all Collection-specific Item Templates </td>
<td class='confluenceTd'> Yes </td>
<td class='confluenceTd'> Yes </td>
</tr>
<tr>
<td class='confluenceTd'> Supports backup/restore of all Collection Harvesting settings (only for Collections which pull in all Items via OAI-PMH or OAI-ORE) </td>
<td class='confluenceTd'> Yes </td>
<td class='confluenceTd'> No (This is a known issue. All previously harvested Items will be restored, but the OAI-PMH/OAI-ORE harvesting settings will be lost during the restore process.) </td>
</tr>
<tr>
<td class='confluenceTd'> Supports backup/restore of all Withdrawn (but not deleted) Items </td>
<td class='confluenceTd'> Yes </td>
<td class='confluenceTd'> Yes </td>
</tr>
<tr>
<td class='confluenceTd'> Supports backup/restore of Item Mappings between Collections </td>
<td class='confluenceTd'> Yes </td>
<td class='confluenceTd'> Yes (During restore, the AIP Ingester may throw a false "Could not find a parent DSpaceObject" error (see <a href="#AIPBackupandRestore-CommonIssuesorErrorMessages">Common Issues or Error Messages</a>), if it tries to restore an Item Mapping to a Collection that it hasn't yet restored. But this error can be safely bypassed using the 'skipIfParentMissing' flag (see <a href="#AIPBackupandRestore-AdditionalPackagerOptions">Additional Packager Options</a> for more details).</td>
</tr>
<tr>
<td class='confluenceTd'> Supports backup/restore of all in-process, uncompleted Submissions (or those currently in an approval workflow) </td>
<td class='confluenceTd'> Yes </td>
<td class='confluenceTd'> No (AIPs are only generated for objects which are completed and considered "in archive") </td>
</tr>
<tr>
<td class='confluenceTd'> Supports backup/restore of Items using custom Metadata Schemas &amp; Fields </td>
<td class='confluenceTd'> Yes </td>
<td class='confluenceTd'> Yes (Custom Metadata Fields will be automatically recreated.  Custom Metadata Schemas must be manually created first, in order for DSpace to be able to recreate custom fields belonging to that schema.  See <a href="#AIPBackupandRestore-CommonIssuesorErrorMessages">Common Issues or Error Messages</a> for more details.) </td>
</tr>
<tr>
<td class='confluenceTd'> Supports backup/restore of all local DSpace Configurations and Customizations </td>
<td class='confluenceTd'> Yes (if you backup your <b>entire</b> DSpace directory as part of backing up your files) </td>
<td class='confluenceTd'> Not by default (unless your also backup parts of your DSpace directory &#8211; note, you wouldn't need to backup the '[dspace]/assetstore' folder again, as those files are already included in AIPs) </td>
</tr>
</tbody></table>
</div>


<p>Based on your local institutions needs, you will want to choose the backup &amp; restore process which is most appropriate to you.  You may also find it beneficial to use both types of backups on different time schedules, in order to keep to a minimum the likelihood of losing your DSpace installation settings or its contents.  For example, you may choose to perform a Traditional Backup once per week (to backup your local system configurations and customizations) and an AIP Backup on a daily basis.  Alternatively, you may choose to perform daily Traditional Backups and only use the AIP Backup as a "permanent archives" option (perhaps performed on a weekly or monthly basis).</p>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Don't Forget to Backup your Configurations and Customizations</b><br />If you choose to use the AIP Backup and Restore option, do not forget to also backup your local DSpace configurations and customizations.  Depending on how you manage your own local DSpace, these configurations and customizations are likely in one or more of the following locations:
<ul>
	<li><tt>[dspace]</tt> - The DSpace installation directory (Please note, if you also use the AIP Backup &amp; Restore option, you do <b>not</b> need to backup your <tt>[dspace]/assetstore</tt> directory, as those files already exist in your AIPs).</li>
	<li><tt>[dspace-source]</tt> - The DSpace source directory</li>
</ul>
</td></tr></table></div>


<h3><a name="AIPBackupandRestore-HowdoesthisworkhelpDSpaceinteractwithDuraCloud%3F"></a>How does this work help DSpace interact with DuraCloud?</h3>

<p>This work is entirely about <b>exporting</b> DSpace content objects to a location on a local filesystem.  So, this work doesn't interact solely with <a href="http://www.duracloud.org">DuraCloud</a>, and could be used by any backup storage system to backup your DSpace contents.</p>

<p>In the initial DuraCloud work, the DuraCloud team is working on a way to "synchronize" DuraCloud with a local file folder.  So, DuraCloud can be configured to "watch" a given folder and automatically replicate its contents into the cloud.</p>

<p>Therefore, moving content from DSpace to DuraCloud would currently be a two-step process:</p>
<ol>
	<li>First, export AIPs describing that content from DSpace to a filesystem folder</li>
	<li>Second, enable DuraCloud to watch that same filesystem folder and replicate it into the cloud.</li>
</ol>


<p>Similarly, moving content from DuraCloud back into DSpace would also be a two-step process:</p>
<ol>
	<li>First, you'd tell DuraCloud to replicate the AIPs from the cloud to a folder on your file system</li>
	<li>Second, you'd ingest those AIPs back into DSpace</li>
</ol>


<p>(These backup/restore processes may change as we go forward and investigate more use cases.  This is just the initial plan.)</p>

<h2><a name="AIPBackupandRestore-MakeupandDefinitionofAIPs"></a>Makeup and Definition of AIPs</h2>

<h3><a name="AIPBackupandRestore-AIPsareArchivalInformationPackages."></a>AIPs are Archival Information Packages.</h3>

<ul>
	<li>AIP is a package describing <b>one archival object</b> in DSpace.
	<ul>
		<li>The <b>archival object</b> may be a single <b>Item</b>, <b>Collection</b>, <b>Community</b>, or <b>Site</b> (Site AIPs contain site-wide information). Bitstreams are included in an Item's AIP.</li>
		<li>Each AIP is logically self-contained, can be restored without rest of the archive. (So you could restore a single Item, Collection or Community)</li>
		<li>Collection or Community AIPs do <b>not</b> include all child objects (e.g. Items in those Collections or Communities), as each AIP only describes <b>one</b> object.  However, these container AIPs do contain references (links) to all child objects.  These references can be used by DSpace to automatically restore all referenced AIPs when restoring a Collection or Community.</li>
		<li>AIPs are only generated for objects which are currently in the "in archive" state in DSpace.  This means that in-progress, uncompleted submissions are not described in AIPs and cannot be restored after a disaster.  Permanently removed objects will also no longer be exported as AIPs after their removal.  However, withdrawn objects will continue to be exported as AIPs, since they are still considered under the "in archive" status.</li>
		<li>AIPs with identical contents will always have identical <a href="http://en.wikipedia.org/wiki/Checksum">checksums</a>. This provides a basic means of validating whether the contents within an AIP have changed.  For example, if a Collection's AIP has the same checksum at two different points in time, it means that Collection has not changed during that time period.</li>
		<li>AIP profile favors completeness and accuracy rather than presenting the semantics of an object in a standard format.  It conforms to the quirks of DSpace's internal object model rather than attempting to produce a universally understandable representation of the object.  When possible, an AIP tries to use common standards to express objects.</li>
		<li>An AIP <em>can</em> serve as a DIP (Dissemination Information Package) or SIP (Submission Information Package), especially when transferring custody of objects to another DSpace implementation.</li>
		<li>In contrast to SIP or DIP, the AIP should include all available DSpace structural and administrative metadata, and basic provenance information.  AIPs also describe some basic system level information (e.g. Groups and People).</li>
	</ul>
	</li>
</ul>



<h3><a name="AIPBackupandRestore-AIPStructure%2FFormat"></a>AIP Structure / Format</h3>

<p>Generally speaking, an AIP is an Zip file containing a METS manifest and all related content bitstreams.</p>

<p>For more specific details of AIP format / structure, along with examples, please see <a href="DSpace AIP Format.html" title="DSpace AIP Format">DSpace AIP Format</a></p>

<h2><a name="AIPBackupandRestore-RunningtheCode"></a>Running the Code</h2>

<h3><a name="AIPBackupandRestore-ExportingAIPs"></a>Exporting AIPs</h3>

<h4><a name="AIPBackupandRestore-ExportModes%26Options"></a>Export Modes &amp; Options</h4>

<p>All AIP Exports are done by using the Dissemination Mode (<tt>&#45;d</tt> option) of the <tt>packager</tt> command.</p>

<p>There are two types of AIP Dissemination you can perform:</p>
<ul>
	<li><b><a href="#AIPBackupandRestore-ExportingjustasingleAIP">Single AIP</a></b> (default, using <tt>&#45;d</tt> option) - Exports just an AIP describing a single DSpace object.  So, if you ran it in this default mode for a Collection, you'd just end up with a single Collection AIP (which would not include AIPs for all its child Items)</li>
	<li><b><a href="#AIPBackupandRestore-ExportingAIPHierarchy">Hierarchy of AIPs</a></b> (using the <tt>&#45;d &#45;-all</tt> or <tt>&#45;d &#45;a</tt> option) - Exports the requested AIP describing an object, plus the AIP for all child objects.  Some examples follow:
	<ul>
		<li>For a Site - this would export <b>all</b> Communities, Collections &amp; Items within the site into AIP files (in a provided directory)</li>
		<li>For a Community - this would export that Community and all SubCommunities, Collections and Items into AIP files (in a provided directory)</li>
		<li>For a Collection - this would export that Collection and all contained Items into AIP files (in a provided directory)</li>
		<li>For an Item &#8211; this just exports the Item into an AIP as normal (as it already contains its Bitstreams/Bundles by default)</li>
	</ul>
	</li>
</ul>



<h4><a name="AIPBackupandRestore-ExportingjustasingleAIP"></a>Exporting just a single AIP</h4>

<p>To export in single AIP mode (default), use this 'packager' command template:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -d -t AIP -e &lt;eperson&gt; -i &lt;handle&gt; &lt;file-path&gt;
</pre>
</div></div>
<p>for example:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -d -t AIP -e admin@myu.edu -i 4321/4567 aip4567.zip
</pre>
</div></div>
<p>The above code will export the object of the given handle (4321/4567) into an AIP file named "aip4567.zip".  This will <b>not</b> include any child objects for Communities or Collections.</p>


<h4><a name="AIPBackupandRestore-ExportingAIPHierarchy"></a>Exporting AIP Hierarchy</h4>

<p>To export an AIP hierarchy, use the <tt>&#45;a</tt> (or <tt>&#45;-all</tt>) package parameter.</p>

<p>For example, use this 'packager' command template:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -d -a -t AIP -e &lt;eperson&gt; -i &lt;handle&gt; &lt;file-path&gt;
</pre>
</div></div>
<p>for example:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -d -a -t AIP -e admin@myu.edu -i 4321/4567 aip4567.zip
</pre>
</div></div>
<p>The above code will export the object of the given handle (4321/4567) into an AIP file named "aip4567.zip".  In addition it would export all children objects to the same directory as the "aip4567.zip" file.  The child AIP files are all named using the following format:</p>
<ul>
	<li>File Name Format: <tt>&lt;Obj-Type&gt;@&lt;Handle-with-dashes&gt;.zip</tt>
	<ul>
		<li>e.g. COMMUNITY@123456789-1.zip, COLLECTION@123456789-2.zip, ITEM@123456789-200.zip</li>
		<li>This general file naming convention ensures that you can easily locate an object to restore by its name (assuming you know its Object Type and Handle).</li>
	</ul>
	</li>
	<li>Alternatively, if object doesn't have a Handle, it uses this File Name Format: <tt>&lt;Obj-Type&gt;@internal-id-&lt;DSpace-ID&gt;.zip</tt> (e.g. ITEM@internal-id-234.zip)</li>
</ul>


<p>AIPs are only generated for objects which are currently in the "in archive" state in DSpace. This means that in-progress, uncompleted submissions are not described in AIPs and cannot be restored after a disaster.</p>

<h5><a name="AIPBackupandRestore-ExportingEntireSite"></a>Exporting Entire Site</h5>

<p>To export an entire DSpace Site, pass the packager the Handle <tt>&lt;site-handle-prefix&gt;/0</tt>.  For example, if your site prefix is "4321", you'd run a command similar to the following:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -d -a -t AIP -e admin@myu.edu -i 4321/0 sitewide-aip.zip
</pre>
</div></div>
<p>Again, this would export the DSpace Site AIP into the file "sitewide-aip.zip", and export AIPs for <b>all</b> Communities, Collections and Items into the same directory as the Site AIP.</p>

<h3><a name="AIPBackupandRestore-Ingesting%2FRestoringAIPs"></a>Ingesting / Restoring AIPs</h3>

<h4><a name="AIPBackupandRestore-IngestionModes%26Options"></a>Ingestion Modes &amp; Options</h4>

<p>Ingestion of AIPs is a bit more complex than Dissemination, as there are several different "modes" available:</p>
<ol>
	<li><a href="#AIPBackupandRestore-SubmittingAIP%28s%29tocreateanewobject">Submit/Ingest Mode</a> (<tt>&#45;s</tt> option, default) &#8211; submit AIP(s) to DSpace in order to create a new object(s) (i.e. AIP is treated like a SIP &#8211; Submission Information Package)</li>
	<li><a href="#AIPBackupandRestore-Restoring%2FReplacingusingAIP%28s%29">Restore Mode</a> (<tt>&#45;r</tt> option) &#8211; restore pre-existing object(s) in DSpace based on AIP(s).  This also attempts to restore all handles and relationships (parent/child objects).  This is a specialized type of "submit", where the object is created with a known Handle and known relationships.</li>
	<li><a href="#AIPBackupandRestore-ForceReplaceMode">Replace Mode</a> (<tt>&#45;r &#45;f</tt> option) &#8211; replace existing object(s) in DSpace based on AIP(s). This also attempts to restore all handles and relationships (parent/child objects).  This is a specialized type of "restore" where the contents of existing object(s) is replaced by the contents in the AIP(s).  By default, if a normal "restore" finds the object already exists, it will back out (i.e. rollback all changes) and report which object already exists.</li>
</ol>


<p>Again, like export, there are two types of AIP Ingestion you can perform (using any of the above modes):</p>
<ul>
	<li><b>Single AIP</b> (default) - Ingests just an AIP describing a single DSpace object.  So, if you ran it in this default mode for a Collection AIP, you'd just create a DSpace Collection from the AIP (but not ingest any of its child objects)</li>
	<li><b>Hierarchy of AIPs</b> (by including the <tt>&#45;-all</tt> or <tt>&#45;a</tt> option after the mode) - Ingests the requested AIP describing an object, plus the AIP for all child objects.  Some examples follow:
	<ul>
		<li>For a Site - this would ingest <b>all</b> Communities, Collections &amp; Items based on the located AIP files</li>
		<li>For a Community - this would ingest that Community and all SubCommunities, Collections and Items based on the located AIP files</li>
		<li>For a Collection - this would ingest that Collection and all contained Items based on the located AIP files</li>
		<li>For an Item &#8211; this just ingest the Item (including all Bitstreams &amp; Bundles) based on the AIP file.</li>
	</ul>
	</li>
</ul>


<h5><a name="AIPBackupandRestore-Thedifferencebetween%22Submit%22and%22Restore%2FReplace%22modes"></a>The difference between "Submit" and "Restore/Replace" modes</h5>

<p>It's worth understanding the primary differences between a Submission (specified by <tt>&#45;s</tt> parameter) and a Restore (specified by <tt>&#45;r</tt> parameter).</p>

<ul>
	<li><b><a href="#AIPBackupandRestore-SubmittingAIP%28s%29tocreateanewobject">Submission Mode</a></b> (<tt>&#45;s</tt> mode) - creates a new object (AIP is treated like a SIP)
	<ul>
		<li>By default, a new Handle is always assigned
		<ul>
			<li>However, you can force it to use the handle specified in the AIP by specifying <tt>&#45;o ignoreHandle=false</tt> as one of your parameters</li>
		</ul>
		</li>
		<li>By default, a new Parent object <b>must</b> be specified (using the <tt>&#45;p</tt> parameter). This is the location where the new object will be created.
		<ul>
			<li>However, you can force it to use the parent object specified in the AIP by specifying <tt>&#45;o ignoreParent=false</tt> as one of your parameters</li>
		</ul>
		</li>
		<li>By default, will respect a Collection's Workflow process when you submit an Item to a Collection
		<ul>
			<li>However, you can specifically <em>skip</em> any workflow approval processes by specifying <tt>&#45;w</tt> parameter.</li>
		</ul>
		</li>
		<li><b>Always</b> adds a new Deposit License to Items</li>
		<li><b>Always</b> adds new DSpace System metadata to Items (includes new 'dc.date.accessioned', 'dc.date.available', 'dc.date.issued' and 'dc.description.provenance' entries)</li>
	</ul>
	</li>
</ul>


<ul>
	<li><b><a href="#AIPBackupandRestore-Restoring%2FReplacingusingAIP%28s%29">Restore / Replace Mode</a></b> (<tt>&#45;r</tt> mode)  - restores a previously existing object (as if from a backup)
	<ul>
		<li>By default, the Handle specified in the AIP is restored
		<ul>
			<li>However, for restores, you can force a new handle to be generated by specifying <tt>&#45;o ignoreHandle=true</tt> as one of your parameters. (NOTE: Doesn't work for <em>replace</em> mode as the new object always retains the handle of the replaced object)</li>
			<li><img class="emoticon" src="images/icons/emoticons/information.gif" height="16" width="16" align="absmiddle" alt="" border="0"/> Although a Restore/Replace does restore Handles, it will not necessarily restore the same internal IDs in your Database.</li>
		</ul>
		</li>
		<li>By default, the object is restored under the Parent specified in the AIP
		<ul>
			<li>However, for restores, you can force it to restore under a different parent object by using the <tt>&#45;p</tt> parameter. (NOTE: Doesn't work for <em>replace</em> mode, as the new object always retains the parent of the replaced object)</li>
		</ul>
		</li>
		<li><b>Always</b> skips any Collection workflow approval processes when restoring/replacing an Item in a Collection</li>
		<li><b>Never</b> adds a new Deposit License to Items (rather it restores the previous deposit license, as long as it is stored in the AIP)</li>
		<li><b>Never</b> adds new DSpace System metadata to Items (rather it just restores the metadata as specified in the AIP)</li>
	</ul>
	</li>
</ul>


<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Changing Submission/Restore Behavior</b><br />It is possible to change some of the default behaviors of both the Submission and Restore/Replace Modes.  Please see the <a href="#AIPBackupandRestore-AdditionalPackagerOptions">Additional Packager Options</a> section below for a listing of command-line options that allow you to override some of the default settings described above.</td></tr></table></div>

<h4><a name="AIPBackupandRestore-SubmittingAIP%28s%29tocreateanewobject"></a>Submitting AIP(s) to create a new object</h4>

<h5><a name="AIPBackupandRestore-SubmittingaSingleAIP"></a>Submitting a Single AIP</h5>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>AIPs treated as SIPs</b><br />This option allows you to essentially use an AIP as a SIP (Submission Information Package).  The default settings will create a new DSpace object (with a new handle and a new parent object, if specified) from your AIP.</td></tr></table></div>

<p>To ingest a single AIP and create a new DSpace object under a parent of your choice, specify the <tt>&#45;p</tt> (or <tt>&#45;-parent</tt>) package parameter to the command.  Also, note that you are running the <tt>packager</tt> in <tt>&#45;s</tt> (submit) mode.</p>

<p><em>NOTE:</em> This only ingests the single AIP specified.  It does <b>not</b> ingest all children objects.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -s -t AIP -e &lt;eperson&gt; -p &lt;parent-handle&gt; &lt;file-path&gt;
</pre>
</div></div>

<p>If you leave out the <tt>&#45;p</tt> parameter, the AIP package ingester will attempt to install the AIP under the same parent it had before.  As you are also specifying the <tt>&#45;s</tt> (submit) parameter, the <tt>packager</tt> will assume you want a new Handle to be assigned (as you are effectively specifying that you are submitting a <b>new</b> object).  If you want the object to retain the Handle specified in the AIP, you can specify the <tt>&#45;o ignoreHandle=false</tt> option to force the packager to <em>not</em> ignore the Handle specified in the AIP.</p>


<h5><a name="AIPBackupandRestore-SubmittinganAIPHierarchy"></a>Submitting an AIP Hierarchy</h5>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>AIPs treated as SIPs</b><br />This option allows you to essentially use a set of AIPs as SIPs (Submission Information Packages).  The default settings will create a new DSpace object (with a new handle and a new parent object, if specified) from each AIP</td></tr></table></div>

<p>To ingest an AIP hierarchy from a directory of AIPs, use the <tt>&#45;a</tt> (or <tt>&#45;-all</tt>) package parameter.</p>

<p>For example, use this 'packager' command template:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -s -a -t AIP -e &lt;eperson&gt; -p &lt;parent-handle&gt; &lt;file-path&gt;
</pre>
</div></div>
<p>for example:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -s -a -t AIP -e admin@myu.edu -p 4321/12 aip4567.zip
</pre>
</div></div>
<p>The above command will ingest the package named "aip4567.zip" as a child of the specified Parent Object (handle="4321/12").  The resulting object is assigned a new Handle (since <tt>&#45;s</tt> is specified).  In addition, any child AIPs referenced by "aip4567.zip" are also recursively ingested (a new Handle is also assigned for each child AIP).</p>

<p>Another example &#8211; <b>Ingesting a Top-Level Community</b> (by using the Site Handle, <tt>&lt;site-handle-prefix&gt;/0</tt>):</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -s -a -t AIP -e admin@myu.edu -p 4321/0 community-aip.zip
</pre>
</div></div>
<p>The above command will ingest the package named "community-aip.zip" as a <b>top-level community</b> (i.e. the specified parent is "4321/0" which is a Site Handle).  Again, the resulting object is assigned a new Handle.  In addition, any child AIPs referenced by "community-aip.zip" are also recursively ingested (a new Handle is also assigned for each child AIP).</p>

<h4><a name="AIPBackupandRestore-Restoring%2FReplacingusingAIP%28s%29"></a>Restoring/Replacing using AIP(s)</h4>

<p><b>Restoring</b> is slightly different than just <b>submitting</b>.  When restoring, we make every attempt to restore the object as it <b>used to be</b> (including its handle, parent object, etc.).</p>

<p>There are currently three restore modes:</p>
<ol>
	<li><a href="#AIPBackupandRestore-DefaultRestoreMode">Default Restore Mode</a> (<tt>&#45;r</tt>) = Attempt to restore object (and optionally children). Rollback all changes if any object is found to already exist.</li>
	<li><a href="#AIPBackupandRestore-Restore%2CKeepExistingMode">Restore, Keep Existing Mode</a> (<tt>&#45;r &#45;k</tt>) =  Attempt to restore object (and optionally children).  If an object is found to already exist, skip over it (and all children objects), and continue to restore all other non-existing objects.</li>
	<li><a href="#AIPBackupandRestore-ForceReplaceMode">Force Replace Mode</a> (<tt>&#45;r &#45;f</tt>) = Restore an object (and optionally children) and <b>overwrite</b> any existing objects in DSpace.  Therefore, if an object is found to already exist in DSpace, its contents are replaced by the contents of the AIP. <em>WARNING: This mode is potentially dangerous as it will permanently destroy any object contents that do not currently exist in the AIP. You may want to perform a secondary backup, unless you are sure you know what you are doing&#33;</em></li>
</ol>


<h5><a name="AIPBackupandRestore-DefaultRestoreMode"></a>Default Restore Mode</h5>

<p>By default, the restore mode (<tt>&#45;r</tt> option) will throw an error and rollback all changes if any object is found to already exist.  The user will be informed if which object already exists within their DSpace installation.</p>

<p><b>Restore a Single AIP:</b> Use this 'packager' command template to restore a single object from an AIP (not including any child objects):</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -r -t AIP -e &lt;eperson&gt; &lt;AIP-file-path&gt;
</pre>
</div></div>

<p><b>Restore a Hierarchy of AIPs:</b> Use this 'packager' command template to restore an object from an AIP along with all child objects (from their AIPs):</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -r -a -t AIP -e &lt;eperson&gt; &lt;AIP-file-path&gt;
</pre>
</div></div>
<p>For example:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -r -a -t AIP -e admin@myu.edu aip4567.zip
</pre>
</div></div>

<p><em>Notice that unlike</em> <tt><em>&#45;s</em></tt> <em>option (for submission/ingesting), the</em> <tt><em>&#45;r</em></tt> <em>option does not require the Parent Object (</em><tt><em>&#45;p</em></tt> <em>option) to be specified if it can be determined from the package itself.</em></p>

<p>In the above example, the package "aip4567.zip" is restored to the DSpace installation with the Handle provided within the package itself (and added as a child of the parent object specified within the package itself).  In addition, any child AIPs referenced by "aip4567.zip" are also recursively ingested (the <tt>&#45;a</tt> option specifies to also restore all child AIPs).  They are also restored with the Handles &amp; Parent Objects provided with their package.  If any object is found to already exist, all changes are rolled back (i.e. nothing is restored to DSpace)</p>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Highly Recommended to Update Database Sequences after a Large Restore</b><br />In some cases, when you restore a large amount of content to your DSpace, the internal database counts (called "sequences") may get out of sync with the Handles of the content you just restored.   As a best practice, it is <b>highly recommended to always</b> re-run the "update-sequences.sql" script on your DSpace database after a larger scale restore.  This database script can be run while the system is online (i.e. no need to stop Tomcat or PostgreSQL).  The script can be found in the following locations for PostgreSQL and Oracle, respectively:<br/>
<tt>[dspace]/etc/postgres/update-sequences.sql</tt><br/>
<tt>[dspace]/etc/oracle/update-sequences.sql</tt></td></tr></table></div>

<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>More Information on using Default Restore Mode with Community/Collection AIPs</b><br /><ul>
	<li>Using the Default Restore Mode without the <tt>-a</tt> option, will only restore the <b>metadata</b> for that specific Community or Collection.  No child objects will be restored.</li>
	<li>Using the Default Restore Mode with the <tt>-a</tt> option, will only successfully restore a Community or Collection if that object along with any child objects (Sub-Communities, Collections or Items) do not already exist. In other words, if any objects belonging to that Community or Collection already exist in DSpace, the Default Restore Mode will report an error that those object(s) could not be recreated. If you encounter this situation, you will need to perform the restore using either the <a href="#AIPBackupandRestore-Restore%2CKeepExistingMode">Restore, Keep Existing Mode</a> <em>or</em> the <a href="#AIPBackupandRestore-ForceReplaceMode">Force Replace Mode</a> (depending on whether you want to keep or replace those existing child objects).</li>
</ul>
</td></tr></table></div>

<h5><a name="AIPBackupandRestore-Restore%2CKeepExistingMode"></a>Restore, Keep Existing Mode</h5>

<p>When the "Keep Existing" flag (<tt>&#45;k</tt> option) is specified, the restore will attempt to skip over any objects found to already exist.  It will report to the user that the object was found to exist (and was not modified or changed).  It will then continue to restore all objects which do not already exist.</p>

<p>One special case to note:  If a Collection or Community is found to already exist, its child objects are also skipped over.  So, this mode will not auto-restore items to an existing Collection.</p>

<p><b>Restore a Hierarchy of AIPs:</b> Use this 'packager' command template to restore an object from an AIP along with all child objects (from their AIPs):</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -r -a -k -t AIP -e &lt;eperson&gt; &lt;AIP-file-path&gt;
</pre>
</div></div>
<p>For example:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -r -a -k -t AIP -e admin@myu.edu aip4567.zip
</pre>
</div></div>

<p>In the above example, the package "aip4567.zip" is restored to the DSpace installation with the Handle provided within the package itself (and added as a child of the parent object specified within the package itself).  In addition, any child AIPs referenced by "aip4567.zip" are also recursively restored (the <tt>&#45;a</tt> option specifies to also restore all child AIPs).  They are also restored with the Handles &amp; Parent Objects provided with their package.  If any object is found to already exist, it is skipped over (child objects are also skipped).  All non-existing objects are restored.</p>

<h5><a name="AIPBackupandRestore-ForceReplaceMode"></a>Force Replace Mode</h5>

<p>When the "Force Replace" flag (<tt>&#45;f</tt> option) is specified, the restore will <b>overwrite</b> any objects found to already exist in DSpace.  In other words, existing content is deleted and then replaced by the contents of the AIP(s).</p>

<div class='panelMacro'><table class='warningMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Potential for Data Loss</b><br />Because this mode actually <b>destroys</b> existing content in DSpace, it is potentially dangerous and may result in data loss&#33;  You may wish to perform a secondary full backup (assetstore files &amp; database) before attempting to replace any existing object(s) in DSpace.</td></tr></table></div>

<p><b>Replace using a Single AIP:</b> Use this 'packager' command template to replace a single object from an AIP (not including any child objects):</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -r -f -t AIP -e &lt;eperson&gt; &lt;AIP-file-path&gt;
</pre>
</div></div>

<p><b>Replace using a Hierarchy of AIPs:</b> Use this 'packager' command template to replace an object from an AIP along with all child objects (from their AIPs):</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -r -a -f -t AIP -e &lt;eperson&gt; &lt;AIP-file-path&gt;
</pre>
</div></div>
<p>For example:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -r -a -f -t AIP -e admin@myu.edu aip4567.zip
</pre>
</div></div>

<p>In the above example, the package "aip4567.zip" is restored to the DSpace installation with the Handle provided within the package itself (and added as a child of the parent object specified within the package itself).  In addition, any child AIPs referenced by "aip4567.zip" are also recursively ingested.  They are also restored with the Handles &amp; Parent Objects provided with their package. <em>If any object is found to already exist, its contents are replaced by the contents of the appropriate AIP.</em></p>

<p>If any error occurs, the script attempts to rollback the entire replacement process.</p>

<h5><a name="AIPBackupandRestore-RestoringEntireSite"></a>Restoring Entire Site</h5>

<p>In order to restore an entire Site from a set of AIPs, you must do the following:</p>
<ol>
	<li>Install a completely "fresh" version of DSpace by following the <a href="Installation.html" title="Installation">Installation instructions in the DSpace Manual</a>
	<ul>
		<li>At this point, you should have a completely empty, but fully-functional DSpace installation.  You will need to create an initial Administrator user in order to perform this restore (as a full-restore can only be performed by a DSpace Administrator).</li>
	</ul>
	</li>
	<li>Once DSpace is installed, run the following command to restore all its contents from AIPs
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -r -a -f -t AIP -e &lt;eperson&gt; -i &lt;site-handle-prefix&gt;/0 /full/path/to/your/site-aip.zip
</pre>
</div></div></li>
</ol>


<p>Please note the following about the above restore command:</p>
<ul>
	<li>Notice that you are running this command in "Force Replace" mode (<tt>&#45;r &#45;f</tt>).  This is necessary as your empty DSpace install will already include a few default groups (Administrators and Anonymous) and your initial administrative user.  You need to replace these groups in order to restore your prior DSpace contents completely.</li>
	<li><tt>&lt;eperson&gt;</tt> should be replaced with the Email Address of the initial Administrator (who you created when you reinstalled DSpace).</li>
	<li><tt>&lt;site-handle-prefix&gt;</tt> should be replaced with your DSpace site's assigned Handle Prefix.  This is equivalent to the <tt>handle.prefix</tt> setting in your <tt>dspace.cfg</tt></li>
	<li><tt>/full/path/to/your/site-aip.zip</tt> is the full path to the AIP file which represents your DSpace SITE.  This file will be named whatever you named it when you actually <a href="#AIPBackupandRestore-ExportingEntireSite">exported your entire site</a>. All other AIPs are assumed to be referenced from this SITE AIP (in most cases, they should be in the same directory as that SITE AIP).</li>
</ul>


<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Highly Recommended to Update Database Sequences after a Large Restore</b><br />In some cases, when you restore a large amount of content to your DSpace, the internal database counts (called "sequences") may get out of sync with the Handles of the content you just restored.   As a best practice, it is <b>highly recommended to always</b> re-run the "update-sequences.sql" script on your DSpace database after a larger scale restore.  This database script can be run while the system is online (i.e. no need to stop Tomcat or PostgreSQL).  The script can be found in the following locations for PostgreSQL and Oracle, respectively:<br/>
<tt>[dspace]/etc/postgres/update-sequences.sql</tt><br/>
<tt>[dspace]/etc/oracle/update-sequences.sql</tt></td></tr></table></div>

<h2><a name="AIPBackupandRestore-AdditionalPackagerOptions"></a>Additional Packager Options</h2>

<p>In additional to the various "modes" settings described under "<a href="#AIPBackupandRestore-RunningtheCode">Running the Code</a>" above, the AIP Packager supports the following packager options.  These options allow you to better tweak how your AIPs are processed (especially during ingests/restores/replaces).</p>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Option </th>
<th class='confluenceTh'> Ingest or Export </th>
<th class='confluenceTh'> Default Value </th>
<th class='confluenceTh'> Description </th>
</tr>
<tr>
<td class='confluenceTd'> <tt>createMetadataFields</tt> </td>
<td class='confluenceTd'> ingest-only </td>
<td class='confluenceTd'> true </td>
<td class='confluenceTd'> Tells the AIP ingester to automatically create any metadata fields which are found to be <b>missing</b> from the DSpace Metadata Registry.  When 'true', this means as each AIP is ingested, new fields may be added to the DSpace Metadata Registry if they don't already exist.  When 'false', an AIP ingest will fail if it encounters a metadata field that doesn't exist in the DSpace Metadata Registry.  (NOTE: This will <b>not</b> create missing DSpace Metadata <em>Schemas</em>.  If a schema is found to be missing, the ingest will always fail.) </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>ignoreHandle</tt> </td>
<td class='confluenceTd'> ingest-only </td>
<td class='confluenceTd'> Restore/Replace Mode defaults to 'false', <br class="atl-forced-newline" />
Submit Mode defaults to 'true' </td>
<td class='confluenceTd'> If 'true', the AIP ingester will ignore any Handle specified in the AIP itself, and instead create a new Handle during the ingest process (this is the default when running in Submit mode, using the <tt>&#45;s</tt> flag).  If 'false', the AIP ingester attempts to restore the Handles specified in the AIP (this is the default when running in Restore/replace mode, using the <tt>&#45;r</tt> flag). </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>ignoreParent</tt> </td>
<td class='confluenceTd'> ingest-only </td>
<td class='confluenceTd'> Restore/Replace Mode defaults to 'false', <br class="atl-forced-newline" />
Submit Mode defaults to 'true' </td>
<td class='confluenceTd'> If 'true', the AIP ingester will ignore any Parent object specified in the AIP itself, and instead ingest under a new Parent object (this is the default when running in Submit mode, using the <tt>&#45;s</tt> flag).  The new Parent object must be specified via the <tt>&#45;p</tt> flag (run <tt>dspace packager &#45;h</tt> for more help). If 'false', the AIP ingester attempts to restore the object directly under its old Parent (this is the default when running in Restore/replace mode, using the <tt>&#45;r</tt> flag). </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>includeBundles</tt> </td>
<td class='confluenceTd'> export-only </td>
<td class='confluenceTd'> defaults to "all" </td>
<td class='confluenceTd'> This option can be used to limit the Bundles which are exported to AIPs for each DSpace Item.  By default, all file Bundles will be exported into Item AIPs.  You could use this option to limit the size of AIPs by only exporting certain Bundles. <em>WARNING: any bundles</em> <b><em>not</em></b> <em>included in AIPs will obviously be unable to be restored.</em> This option expects a comma separated list of bundle names (e.g. "ORIGINAL,LICENSE,CC_LICENSE,METADATA"), or "all" if all bundles should be included. <br class="atl-forced-newline" />
(NOTE: If you choose to no longer export LICENSE or CC_LICENSE bundles, you will also need to disable the License Dissemination Crosswalks in the <tt>aip.disseminate.rightsMD</tt> configuration for the changes to take affect) </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>manifestOnly</tt> </td>
<td class='confluenceTd'> both </td>
<td class='confluenceTd'> false </td>
<td class='confluenceTd'> If 'true', the AIP Disseminator will export an AIP which only consists of the METS Manifest file (i.e. result will be a single 'mets.xml' file).  This METS Manifest contains URI references to all content files, but does <em>not</em> contain any content files. <b>This option is experimental, and should never be set to 'true' if you want to be able to restore content files.</b> </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>passwords</tt> </td>
<td class='confluenceTd'> export-only </td>
<td class='confluenceTd'> false </td>
<td class='confluenceTd'> If 'true' (and the 'DSPACE-ROLES' crosswalk is enabled, see <a href="#AIPBackupandRestore-AIPMetadataDisseminationConfigurations">AIP Metadata Dissemination Configurations</a>), then the AIP Disseminator will export user password hashes (i.e. encrypted passwords) into Site AIP's METS Manifest.  This would allow you to restore user's passwords from Site AIP.   If 'false', then user password hashes are not stored in Site AIP, and passwords cannot be restored at a later time. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>skipIfParentMissing</tt> </td>
<td class='confluenceTd'> import-only </td>
<td class='confluenceTd'> false </td>
<td class='confluenceTd'> If 'true', ingestion will skip over any "Could not find a parent DSpaceObject" errors that are encountered during the ingestion process (Note: those errors will still be logged as "warning" messages in your DSpace log file).  If you are performing a full site restore (or a restore of a larger Community/Collection hierarchy), you may encounter these errors if you have a larger number of Item mappings between Collections (i.e. Items which are mapped into several collections at once). When you are performing a recursive ingest, skipping these errors should not cause any problems. Once the missing parent object is ingested it will automatically restore the Item mapping that caused the error. For more information on this "Could not find a parent DSpaceObject" error see <a href="#AIPBackupandRestore-CommonIssuesorErrorMessages">Common Issues or Error Messages</a>. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>unauthorized</tt> </td>
<td class='confluenceTd'> export-only </td>
<td class='confluenceTd'> <em>unspecified</em> </td>
<td class='confluenceTd'> If 'skip', the AIP Disseminator will skip over any unauthorized Bundle or Bitstream encountered (i.e. it will not be added to the AIP).  If 'zero', the AIP Disseminator will add a Zero-length "placeholder" file to the AIP when it encounters an unauthorized Bitstream.  If unspecified (the default value), the AIP Disseminator will throw an error if an unauthorized Bundle or Bitstream is encountered. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>updatedAfter</tt> </td>
<td class='confluenceTd'> export-only </td>
<td class='confluenceTd'> <em>unspecified</em> </td>
<td class='confluenceTd'> This option works as a basic form of "incremental backup".  This option requires that an <a href="http://en.wikipedia.org/wiki/ISO_8601">ISO-8601 date</a> is specified.  When specified, the AIP Disseminator will only export Item AIPs which have a last-modified date <b>after</b> the specified ISO-8601 date.  This option has no affect on the export of Site, Community or Collection AIPs as DSpace does not record a last-modified date for Sites, Communities or Collections.  For example, when this option is specified during a full-site export, the AIP Disseminator will export the Site AIP, all Community AIPs, all Collection AIPs, and only Item AIPs modified after that date and time. </td>
</tr>
<tr>
<td class='confluenceTd'> <tt>validate</tt> </td>
<td class='confluenceTd'> both </td>
<td class='confluenceTd'> Export defaults to 'true', <br class="atl-forced-newline" /> Ingest defaults to 'false' </td>
<td class='confluenceTd'> If 'true', every METS file in AIP will be validated before ingesting or exporting. By default, DSpace will validate everything on export, but will skip validation during import. Validation on export will ensure that all exported AIPs properly conform to the METS profile (and will throw errors if any do not). Validation on import will ensure every METS file in every AIP is first validated before importing into DSpace (this will cause the ingestion processing to take longer, but tips on speeding it up can be found in the "<a href="#AIPBackupandRestore-AIPConfigurationsToImproveIngestionSpeedwhileValidating">AIP Configurations To Improve Ingestion Speed while Validating</a>" section below).  <em>DSpace recommends minimally validating AIPs on export. Ideally, you should validate both on export and import, but import validation is disabled by default in order to increase the speed of AIP restores.</em> </td>
</tr>
</tbody></table>
</div>


<h3><a name="AIPBackupandRestore-Howtousetheseoptions"></a>How to use these options</h3>

<p>These options can be passed in two main ways:</p>

<p><b>From the Command Line</b></p>

<p>From the command-line, you can add the option to your command by using the <tt>&#45;o</tt> or <tt>&#45;-option</tt> parameter.</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -r -a -t AIP -o [option1-value] -o [option2-value] -e admin@myu.edu aip4567.zip
</pre>
</div></div>
<p>For example:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> [dspace]/bin/dspace packager -r -a -t AIP -o ignoreParent=<span class="code-keyword">false</span> -o createMetadataFields=<span class="code-keyword">false</span> -e admin@myu.edu aip4567.zip
</pre>
</div></div>

<p><b>Via the Java API call</b></p>

<p>If you are programmatically calling the <tt>org.dspace.content.packager.DSpaceAIPIngester</tt> from your own custom script, you can specify these options via the <tt>org.dspace.content.packager.PackageParameters</tt> class.</p>

<p>As a basic example:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
PackageParameters params = <span class="code-keyword">new</span> PackageParameters;
params.addProperty(<span class="code-quote">"createMetadataFields"</span>, <span class="code-quote">"<span class="code-keyword">false</span>"</span>);
params.addProperty(<span class="code-quote">"ignoreParent"</span>, <span class="code-quote">"<span class="code-keyword">true</span>"</span>);
</pre>
</div></div>

<h2><a name="AIPBackupandRestore-Configurationin%27dspace.cfg%27"></a>Configuration in 'dspace.cfg'</h2>

<p>The following new configurations relate to AIPs:</p>

<h3><a name="AIPBackupandRestore-AIPMetadataDisseminationConfigurations"></a>AIP Metadata Dissemination Configurations</h3>

<p>The following configurations allow you to specify what metadata is stored within each METS-based AIP.  In 'dspace.cfg', the general format for each of these settings is:</p>

<ul>
	<li><tt>aip.disseminate.&lt;setting&gt; = &lt;mdType&gt;:&lt;DSpace-crosswalk-name&gt; [, ...]</tt>
	<ul>
		<li>&lt;setting&gt; is the setting name (see below for the full list of valid settings)</li>
		<li>&lt;mdType&gt; is optional. It allows you to specify the value of the @MDTYPE or @OTHERMDTYPE attribute in the corresponding METS element.</li>
		<li>&lt;DSpace-crosswalk-name&gt; is required.  It specifies the name of the DSpace Crosswalk which should be used to generate this metadata.</li>
		<li>Zero or more <tt>&lt;label-for-METS&gt;:&lt;DSpace-crosswalk-name&gt;</tt> may be specified for each setting</li>
	</ul>
	</li>
</ul>


<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>AIP Metadata Recommendations</b><br />It is recommended to <b>minimally</b> use the default settings when generating AIPs.  DSpace can only restore information that is included within an AIP.  Therefore, if you choose to no longer include some information in an AIP, DSpace will no longer be able to restore that information from an AIP backup</td></tr></table></div>

<p>The default settings in 'dspace.cfg' are:</p>

<ul>
	<li><tt>aip.disseminate.techMD</tt> &#45; Lists the DSpace Crosswalks (by name) which should be called to populate the <tt>&lt;techMD&gt;</tt> section of the METS file within the AIP (Default: <tt>PREMIS, DSPACE-ROLES</tt>)
	<ul>
		<li>The <tt>PREMIS</tt> crosswalk generates PREMIS metadata for the object specified by the AIP</li>
		<li>The <tt>DSPACE-ROLES</tt> crosswalk exports DSpace Group / EPerson information into AIPs in a DSpace-specific XML format.  Using this crosswalk means that AIPs can be used to recreated Groups &amp; People within the system. (NOTE: The <tt>DSPACE-ROLES</tt> crosswalk should be used alongside the <tt>METSRights</tt> crosswalk if you also wish to restore the <em>permissions</em> that Groups/People have within the System.  See below for more info on the <tt>METSRights</tt> crosswalk.)</li>
	</ul>
	</li>
	<li><tt>aip.disseminate.sourceMD</tt> &#45; Lists the DSpace Crosswalks (by name) which should be called to populate the <tt>&lt;sourceMD&gt;</tt> section of the METS file within the AIP (Default: <tt>AIP-TECHMD</tt>)
	<ul>
		<li>The AIP-TECHMD Crosswalk generates technical metadata (in DIM format) for the object specified by the AIP</li>
	</ul>
	</li>
	<li><tt>aip.disseminate.digiprovMD</tt> &#45; Lists the DSpace Crosswalks (by name) which should be called to populate the <tt>&lt;digiprovMD&gt;</tt> section of the METS file within the AIP (Default: <em>None</em>)</li>
	<li><tt>aip.disseminate.rightsMD</tt> &#45; Lists the DSpace Crosswalks (by name) which should be called to populate the <tt>&lt;rightsMD&gt;</tt> section of the METS file within the AIP (Default: <tt>DSpaceDepositLicense:DSPACE_DEPLICENSE, CreativeCommonsRDF:DSPACE_CCRDF, CreativeCommonsText:DSPACE_CCTEXT, METSRights</tt>)
	<ul>
		<li>The <tt>DSPACE_DEPLICENSE</tt> crosswalk ensures the DSpace Deposit License is referenced/stored in AIP</li>
		<li>The <tt>DSPACE_CCRDF</tt> crosswalk ensures any Creative Commons RDF Licenses are reference/stored in AIP</li>
		<li>The <tt>DSPACE_CCTEXT</tt> crosswalk ensures any Creative Commons Textual Licenses are referenced/stored in AIP</li>
		<li>The <tt>METSRights</tt> crosswalk ensures that Permissions/Rights on DSpace Objects (Communities, Collections, Items or Bitstreams) are referenced/stored in AIP.  Using this crosswalk means that AIPs can be used to restore permissions that a particular Group or Person had on a DSpace Object. (NOTE: The <tt>METSRights</tt> crosswalk should always be used in conjunction with the <tt>DSPACE-ROLES</tt> crosswalk (see above) or a similar crosswalk.  The <tt>METSRights</tt> crosswalk can only restore permissions, and cannot re-create Groups or EPeople in the system.  The <tt>DSPACE-ROLES</tt> can actually re-create the Groups or EPeople as needed.)</li>
	</ul>
	</li>
	<li><tt>aip.disseminate.dmd</tt> &#45; Lists the DSpace Crosswalks (by name) which should be called to populate the <tt>&lt;dmdSec&gt;</tt> section of the METS file within the AIP (Default: MODS, DIM)
	<ul>
		<li>The MODS crosswalk translates the DSpace descriptive metadata (for this object) into MODS.  As MODS is a relatively "standard" metadata schema, it may be useful to include a copy of MODS metadata in your AIPs if you should ever want to import them into another (non-DSpace) system.</li>
		<li>The DIM crosswalk just translates the DSpace internal descriptive metadata into an XML format.  This XML format is proprietary to DSpace, but stores the metadata in a format similar to Qualified Dublin Core.</li>
	</ul>
	</li>
</ul>


<h3><a name="AIPBackupandRestore-AIPIngestionMetadataCrosswalkConfigurations"></a>AIP Ingestion Metadata Crosswalk Configurations</h3>

<p>The following configurations allow you to specify what DSpace Crosswalks are used during the ingestion/restoration of AIPs.  These configurations also allow you to ignore areas of the METS file (in the AIP) if you do not want that area to be restored.</p>

<p>In <tt>dspace.cfg</tt>, the general format for each of these settings is:</p>

<ul>
	<li><tt>mets.dspaceAIP.ingest.crosswalk.&lt;mdType&gt; = &lt;DSpace-crosswalk-name&gt;</tt>
	<ul>
		<li>&lt;mdType&gt; is the type of metadata as specified in the METS file.  This corresponds to the value of the @MDTYPE attribute (of that metadata section in the METS).  When the @MDTYPE attribute is "OTHER", then the &lt;mdType&gt; corresponds to the @OTHERMDTYPE attribute value.</li>
		<li>&lt;DSpace-crosswalk-name&gt; specifies the name of the DSpace Crosswalk which should be used to ingest this metadata into DSpace.   You can specify the "NULLSTREAM" crosswalk if you specifically want this metadata to be ignored (and skipped over during ingestion).</li>
	</ul>
	</li>
</ul>


<p>By default, the settings in <tt>dspace.cfg</tt> are:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
mets.dspaceAIP.ingest.crosswalk.DSpaceDepositLicense = NULLSTREAM
mets.dspaceAIP.ingest.crosswalk.CreativeCommonsRDF = NULLSTREAM
mets.dspaceAIP.ingest.crosswalk.CreativeCommonsText = NULLSTREAM
</pre>
</div></div>

<p>The above settings tell the ingester to <b>ignore</b> any metadata sections which reference DSpace Deposit Licenses or Creative Commons Licenses.  These metadata sections can be safely ignored as long as the "LICENSE" and "CC_LICENSE" bundles are included in AIPs (which is the default setting).  As the Licenses are included in those Bundles, they will already be restored when restoring the bundle contents.</p>

<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>More Info on Default Crosswalks used</b><br />If unspecified in the above settings, the AIP ingester will automatically use the Crosswalk which is named the same as the @MDTYPE or @OTHERMDTYPE attribute for the metadata section.  For example, a metadata section with an @MDTYPE="PREMIS" will be processed by the DSpace Crosswalk named "PREMIS".</td></tr></table></div>

<h3><a name="AIPBackupandRestore-AIPIngestionEPersonConfigurations"></a>AIP Ingestion EPerson Configurations</h3>

<p>The following setting determines whether the AIP Ingester should create an EPerson (if necessary) when attempting to restore or ingest an Item whose Submitter cannot be located in the system.  By default it is set to "false", as for AIPs the creation of EPeople (and Groups) is generally handled by the <tt>DSPACE-ROLES</tt> crosswalk (see <a href="#AIPBackupandRestore-AIPMetadataDisseminationConfigurations">AIP Metadata Dissemination Configurations</a> for more info on <tt>DSPACE-ROLES</tt> crosswalk.)</p>

<ul>
	<li><tt>mets.dspaceAIP.ingest.createSubmitter = false</tt></li>
</ul>


<h3><a name="AIPBackupandRestore-AIPConfigurationsToImproveIngestionSpeedwhileValidating"></a>AIP Configurations To Improve Ingestion Speed while Validating</h3>

<p>It is recommended to validate all AIPs on ingestion (when possible).  But validation can be extremely slow, as each validation request first must download all referenced Schema documents from various locations on the web (sometimes as many as 10 schemas may be necessary to download in order to validate a single METS file).  To make matters worse, the same schema will be re-downloaded each time it is used (i.e. it is not cached locally).  So, if you are validating just 20 METS files which each reference 10 schemas, that results in 200 download requests.</p>

<p>In order to perform validations in a speedy fashion, you can pull down a local copy of <b>all</b> schemas.  Validation will then use this local cache, which can sometimes increase the speed up to 10 x.</p>

<p>To use a local cache of XML schemas when validating, use the following settings in 'dspace.cfg'.  The general format is:</p>

<ul>
	<li><tt>mets.xsd.&lt;abbreviation&gt; = &lt;namespace&gt; &lt;local-file-name&gt;</tt>
	<ul>
		<li><tt>&lt;abbreviation&gt;</tt> is a unique abbreviation (of your choice) for this schema</li>
		<li><tt>&lt;namespace&gt;</tt> is the Schema namespace</li>
		<li><tt>&lt;local-file-name&gt;</tt> the full name of the cached schema file (which should reside in your <tt>[dspace]/config/schemas/</tt> directory, by default this directory does not exist &#8211; you will need to create it)</li>
	</ul>
	</li>
</ul>


<p>The default settings are all commented out.  But, they provide a full listing of all schemas currently used during validation of AIPs.  In order to utilize them, uncomment the settings, download the appropriate schema file, and save it to your <tt>[dspace]/config/schemas/</tt> directory (by default this directory does not exist &#8211; you will need to create it) using the specified file name:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
#mets.xsd.mets = http:<span class="code-comment">//www.loc.gov/METS/ mets.xsd
</span>#mets.xsd.xlink = http:<span class="code-comment">//www.w3.org/1999/xlink xlink.xsd
</span>#mets.xsd.mods = http:<span class="code-comment">//www.loc.gov/mods/v3 mods.xsd
</span>#mets.xsd.xml = http:<span class="code-comment">//www.w3.org/XML/1998/namespace xml.xsd
</span>#mets.xsd.dc = http:<span class="code-comment">//purl.org/dc/elements/1.1/ dc.xsd
</span>#mets.xsd.dcterms = http:<span class="code-comment">//purl.org/dc/terms/ dcterms.xsd
</span>#mets.xsd.premis = http:<span class="code-comment">//www.loc.gov/standards/premis PREMIS.xsd
</span>#mets.xsd.premisObject = http:<span class="code-comment">//www.loc.gov/standards/premis PREMIS-<span class="code-object">Object</span>.xsd
</span>#mets.xsd.premisEvent = http:<span class="code-comment">//www.loc.gov/standards/premis PREMIS-Event.xsd
</span>#mets.xsd.premisAgent = http:<span class="code-comment">//www.loc.gov/standards/premis PREMIS-Agent.xsd
</span>#mets.xsd.premisRights = http:<span class="code-comment">//www.loc.gov/standards/premis PREMIS-Rights.xsd</span>
</pre>
</div></div>


<h2><a name="AIPBackupandRestore-CommonIssuesorErrorMessages"></a>Common Issues or Error Messages</h2>

<p>The below table lists common fixes to issues you may encounter when backing up or restoring objects using AIP Backup and Restore.</p>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Issue / Error Message </th>
<th class='confluenceTh'> How to Fix this Problem </th>
</tr>
<tr>
<td class='confluenceTd'> Ingest/Restore Error: "Group Administrator already exists" </td>
<td class='confluenceTd'> If you receive this problem, you are likely attempting to <a href="#AIPBackupandRestore-RestoringEntireSite">Restore an Entire Site</a>, but are not running the command in Force Replace Mode (<tt>-r -f</tt>).  Please see the section on <a href="#AIPBackupandRestore-RestoringEntireSite">Restoring an Entire Site</a> for more details on the flags you should be using. </td>
</tr>
<tr>
<td class='confluenceTd'> Ingest/Restore Error: "Unknown Metadata Schema encountered (mycustomschema)" </td>
<td class='confluenceTd'> If you receive this problem, one or more of your Items is using a custom metadata schema which DSpace is currently not aware of (in the example, the schema is named "mycustomschema").  Because DSpace AIPs do not contain enough details to recreate the missing Metadata Schema, you must create it manually via the DSpace Admin UI.  <b>Please note that you only need to create the Schema. You do not need to manually create all the fields belonging to that schema, as DSpace will do that for you as it restores each AIP.</b>  Once the schema is created in DSpace, re-run your restore command.  DSpace will automatically re-create all fields belonging to that custom metadata schema as it restores each Item that uses that schema. </td>
</tr>
<tr>
<td class='confluenceTd'> Ingest Error: "Could not find a parent DSpaceObject referenced as 'xxx/xxx'" </td>
<td class='confluenceTd'> When you encounter this error message it means that an object could not be ingested/restored as it belongs to a <b>parent</b> object which doesn't currently exist in your DSpace instance.  During a full restore process, this error can be skipped over and treated as a warning by specifying the 'skipIfParentMissing=true' option (see <a href="#AIPBackupandRestore-AdditionalPackagerOptions">Additional Packager Options</a>).  If you have a larger number of Items which are mapped to multiple Collections, the AIP Ingester will sometimes attempt to restore an item mapping before the <b>Collection itself</b> has been restored (thus throwing this error).  Luckily, this is not anything to be concerned about. As soon as the Collection is restored, the Item Mapping which caused the error will also be automatically restored. So, if you encounter this error during a full restore, it is safe to bypass this error message using the 'skipIfParentMissing=true' option.  All your Item Mappings should still be restored correctly.</td>
</tr>
</tbody></table>
</div>


				    
                    			    </td>
		    </tr>
	    </table>
	    <table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td height="12" background="https://wiki.duraspace.org/images/border/border_bottom.gif"><img src="images/border/spacer.gif" width="1" height="1" border="0"/></td>
			</tr>
		    <tr>
			    <td align="center"><font color="grey">Document generated by Confluence on Mar 25, 2011 19:21</font></td>
		    </tr>
	    </table>
    </body>
</html>